import Vue from 'vue'
import App from './App.vue'
<<<<<<< HEAD
import router from './router'
=======
// 引入路由文件
import router from '@/router';

import axios from 'axios'

Vue.prototype.axios = axios
>>>>>>> b1a4ac4268abf08802b874e0e5d26b735a6e1e89

Vue.config.productionTip = false

import 'amfe-flexible'

import '@/assets/css/reset.css'

<<<<<<< HEAD
=======
//全局过滤器 处理价格格式转换
Vue.filter("RMBformat", val => {
  if (val) {
    return "￥ " + val.toFixed(2) + " 元"
  }
})

>>>>>>> b1a4ac4268abf08802b874e0e5d26b735a6e1e89
import less from 'less'
Vue.use(less)

import Vant from 'vant';
import { Lazyload } from 'vant'
import 'vant/lib/index.css';

<<<<<<< HEAD
Vue.use(Vant);
Vue.use(Lazyload);

=======
// Vue.config.productionTip
Vue.use(Vant);
Vue.use(Lazyload);

// import Vue from 'vue';
// import { Tabbar, TabbarItem } from 'vant';

// Vue.use(Tabbar);
// Vue.use(TabbarItem);

// 引入lazyload 插件
// import VueLazyLoad from 'vue-lazyload'
// Vue.use(VueLazyLoad, {
//   loading: require('./assets/images/loading.gif'),
// })

>>>>>>> b1a4ac4268abf08802b874e0e5d26b735a6e1e89
new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
